diff --git a/.github/workflows/ci_action.yml b/.github/workflows/ci_action.yml index 2512232b..2617d7b8 100644 --- a/.github/workflows/ci_action.yml +++ b/.github/workflows/ci_action.yml @@ -125,6 +125,7 @@ jobs: with: args: "https://git.sinergise.com/eo/code/sentinelhub-py-dev/" env: + FOLLOW_TAGS: "true" GITLAB_HOSTNAME: "git.sinergise.com" GITLAB_USERNAME: "github-action" GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} diff --git a/.github/workflows/ci_trigger.yml b/.github/workflows/ci_trigger.yml new file mode 100644 index 00000000..5bdd9419 --- /dev/null +++ b/.github/workflows/ci_trigger.yml @@ -0,0 +1,19 @@ +name: trigger + +on: + release: + types: + - published + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Trigger API + run: > + curl -X POST --fail \ + -F token=${{ secrets.GITLAB_PIPELINE_TRIGGER_TOKEN }} \ + -F ref=main \ + -F variables[CUSTOM_RUN_TAG]=auto \ + -F variables[LAYER_NAME]=dotai-eo \ + https://git.sinergise.com/api/v4/projects/1031/trigger/pipeline diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2107b30a..87226e29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,8 @@ update_base_image: run_sh_integration_tests: stage: test image: "$BASE_IMAGE" - dependencies: [ ] - needs: [ ] + dependencies: [] + needs: [] rules: - when: always if: '$UPDATE_BASE_IMAGE != "true"'