WorldCereal / ewoc_s1_processor

EWoC Sentinel-1 processor
1 stars 0 forks source link

Test generated Docker image #17

Open gbonnefille opened 3 years ago

gbonnefille commented 3 years ago

Once Docker image is generated, do minimal test to validate it is functionnal.

gbonnefille commented 3 years ago

The idea is to use the addnab/docker-run-action@v3 Github Action. For example:

      - name: Branch name
        id: branch-name
        run: |
          echo ::set-output name=NAME::${GITHUB_REF#refs/heads/}
      - name: Validate
        uses: addnab/docker-run-action@v3
        with:
          image: hfjcmwgl.gra5.container-registry.ovh.net/world-cereal/ewocs1processing:${{ steps.branch-name.outputs.NAME }}
          run: /opt/entrypoint.sh python --version
gbonnefille commented 3 years ago

Cf. https://github.com/WorldCereal/ewoc_s1_processor/pull/15 and https://github.com/WorldCereal/ewoc_s1_processor/runs/3569023915?check_suite_focus=true

savmickael commented 2 years ago

@gbonnefille not functional on tags !

gbonnefille commented 2 years ago

@gbonnefille not functional on tags !

The workflow does not create the good Docker's Tag when the event is a Git Tag. First question: is it necessary to run this test on Git Tag event? The test was certainly already made on the corresponding update of the Git Branch.