Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1014: Fixed Push Docker Test Container workflow #1015

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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