-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix changelog with 1.0.3 details. (#128) * Upgrade to AWS CLI v2. (#130) * Bump urllib3 from 2.0.5 to 2.0.6 (#131) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.5 to 2.0.6. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@v2.0.5...2.0.6) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Docker image test workflow (#132) Adds a github actions workflow that builds and tests Docker images on pull requests and release branches. * Update push-test-image.yml (#133) Expand branch pattern * Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
430917b
commit 633924a
Showing
5 changed files
with
110 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Test Docker Image Workflow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- 'release-*' | ||
- '*-release' | ||
- 'release/*' | ||
|
||
jobs: | ||
build-and-run-images: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build and Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
file: ./Dockerfile | ||
push: false | ||
tags: | | ||
ghcr.io/jvrck/bbripper:${{ github.run_id }} | ||
- name: Run Docker image | ||
run: | | ||
docker run \ | ||
-e BB_USER=$BB_USER \ | ||
-e BB_WORKSPACE=$BB_WORKSPACE \ | ||
-e BB_PASSWORD=$BB_PASSWORD \ | ||
ghcr.io/jvrck/bbripper:${{ github.run_id }} | ||
env: | ||
BB_USER: ${{ secrets.BB_USER }} | ||
BB_WORKSPACE: ${{ secrets.BB_WORKSPACE }} | ||
BB_PASSWORD: ${{ secrets.BB_PASSWORD }} | ||
|
||
build-and-run-aws-images: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build and Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
file: ./Dockerfile | ||
build-args: AWSCLI=TRUE | ||
push: false | ||
tags: | | ||
ghcr.io/jvrck/bbripper:${{ github.run_id }}-aws | ||
- name: Run Docker image | ||
run: | | ||
docker run \ | ||
-e BB_USER=$BB_USER \ | ||
-e BB_WORKSPACE=$BB_WORKSPACE \ | ||
-e BB_PASSWORD=$BB_PASSWORD \ | ||
ghcr.io/jvrck/bbripper:${{ github.run_id }}-aws | ||
env: | ||
BB_USER: ${{ secrets.BB_USER }} | ||
BB_WORKSPACE: ${{ secrets.BB_WORKSPACE }} | ||
BB_PASSWORD: ${{ secrets.BB_PASSWORD }} | ||
|
||
- name: Run Docker image - Check AWS CLI | ||
run: | | ||
docker run \ | ||
ghcr.io/jvrck/bbripper:${{ github.run_id }}-aws aws --version | ||
env: | ||
BB_USER: ${{ secrets.BB_USER }} | ||
BB_WORKSPACE: ${{ secrets.BB_WORKSPACE }} | ||
BB_PASSWORD: ${{ secrets.BB_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ certifi==2023.7.22 | |
charset-normalizer==3.3.0 | ||
idna==3.4 | ||
requests==2.31.0 | ||
urllib3==2.0.5 | ||
urllib3==2.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters