Skip to content

Commit

Permalink
#1014: Fixed Push Docker Test Container workflow (#1015)
Browse files Browse the repository at this point in the history
closes #1004
  • Loading branch information
tomuben authored Nov 14, 2024
1 parent 7ed69e8 commit 4bedaba
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 349 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/push_docker_test_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,26 @@ jobs:
with:
fetch-depth: 0
submodules: 'recursive'
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.14.0
with:
python-version: "3.10"
poetry-version: '1.8.2'

- name: Build TestContainer
run: ./exaslct build-test-container --force-rebuild
run: poetry run exaslct build-test-container --force-rebuild
- name: Push TestContainer image
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/main') }}
run: |
./exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true
poetry run exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true
env: # Set the secret as an input
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
- name: Push ci-release-test TestContainer image
if: ${{ (github.ref != 'refs/heads/master') && (github.ref != 'refs/heads/main') }}
run: |
./exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true --source-docker-tag-prefix ci_release_test --target-docker-tag-prefix ci_release_test
poetry run exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true --source-docker-tag-prefix ci_release_test --target-docker-tag-prefix ci_release_test
env: # Set the secret as an input
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion aws-code-build/build_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"ignore": {
"paths": [
".github",
"config",
"doc",
"emulator",
"githooks",
Expand Down
68 changes: 0 additions & 68 deletions config/.bcc.env

This file was deleted.

13 changes: 0 additions & 13 deletions config/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions config/build-env

This file was deleted.

25 changes: 0 additions & 25 deletions config/c4.yaml

This file was deleted.

196 changes: 0 additions & 196 deletions config/ccc

This file was deleted.

3 changes: 0 additions & 3 deletions config/docker-daemon.json

This file was deleted.

37 changes: 0 additions & 37 deletions config/pkg.sh

This file was deleted.

1 change: 1 addition & 0 deletions doc/changes/changes_9.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This release uses version 1.0.0 of the container tool.
- #993: Added escape sequence for backslash in new Script Options parser
- #1002: Use ECR fallback repository for Trivy caching
- #958: Fix conda version conflict
- #1014: Fixed Push Docker Test Container workflow

## Doc

Expand Down

0 comments on commit 4bedaba

Please sign in to comment.