Skip to content
Snippets Groups Projects
Commit 2ca12171 authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Added modification to go code to test CI building

parent afa14f52
No related branches found
No related tags found
No related merge requests found
Pipeline #4942 failed
Pipeline: workspaces

#4943

    ......@@ -16,7 +16,7 @@
    * You should have received a copy of the GNU General Public License
    * along with Workspaces. If not, see <https://www.gnu.org/licenses/>.
    */
    /* TEST */
    package main
    import (
    ......
    ......@@ -46,7 +46,7 @@ go-{go_name}-build:
    GIT_SUBMODULE_STRATEGY: recursive
    script:
    - echo "Building module - {go_name}"
    - ./ci/bin/build-go.sh {go_name}
    - /builds/ssa/workspaces/ci/bin/build-go.sh {go_name}
    - |
    curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file go/{go_name} "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/{go_name}/0.0.1/{go_name}"
    rules:
    ......@@ -98,7 +98,7 @@ def main(argv):
    deploy_env = os.environ["DEPLOY_ENV"]
    go_changes = []
    rule = "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
    rule = "$CI_MERGE_REQUEST_ID"
    changes_rule = ""
    if deploy_env == "dev":
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment