Skip to content

Commit 409abf3

Browse files
authored
#1155: Use Github workflows for CI/CD (#1156)
fixes #1155
1 parent e33e23e commit 409abf3

File tree

41 files changed

+1022
-550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1022
-550
lines changed

.current_gitmodules

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ aws-code-build/ci/*.yaml linguist-generated=true
44
aws-code-build/release/*.yaml linguist-generated=true
55
.current_gitmodules linguist-generated=true
66
doc/changes/package_diffs/**/*.md linguist-generated=true
7+
.github/workflows/slc_ci*.yml linguist-generated=true
8+
.github/workflows/slc_cd*.yml linguist-generated=true

.github/workflows/check_package_diffs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ jobs:
3535
run: |
3636
source "${{ env.poetry_env_path }}/bin/activate"
3737
python3 scripts/generate_package_diffs_for_flavors/generate_package_diffs_for_flavors.py --output-directory /tmp/output --current-working-copy-name test
38+
39+
- name: Check if package diff have changed
40+
run: |
41+
[ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ]

.github/workflows/push_docker_test_container.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
jobs:
1111
publish-test-container:
1212
runs-on: ubuntu-latest
13-
environment: publish
1413
steps:
1514
- uses: actions/checkout@v4
1615
with:
@@ -29,14 +28,14 @@ jobs:
2928
run: |
3029
poetry run exaslct push-test-container --source-docker-username "$SECRET_DOCKER_USER_NAME" --target-docker-username "$SECRET_DOCKER_USER_NAME" --force-push true
3130
env: # Set the secret as an input
32-
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
33-
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
34-
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
31+
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USERNAME }}
32+
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
33+
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
3534
- name: Push ci-release-test TestContainer image
3635
if: ${{ (github.ref != 'refs/heads/master') && (github.ref != 'refs/heads/main') }}
3736
run: |
3837
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
3938
env: # Set the secret as an input
40-
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
41-
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
42-
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
39+
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USERNAME }}
40+
TARGET_DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
41+
SOURCE_DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/slc_cd.yml

Lines changed: 99 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/slc_cd_flavor.yml

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/slc_cd_self_check.yml

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/slc_ci.yml

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)