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

Bump alpine from 3.19.0 to 3.19.1 in /cicd #173

Merged
merged 8 commits into from
Apr 9, 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
7 changes: 4 additions & 3 deletions .github/workflows/deps-release-detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
"dependencyName": "alpine"
}
]'
deps_file="./cicd/tag-deps-version.txt"

deps='${{ steps.dependabot-metadata.outputs.updated-dependencies-json }}'

Expand Down Expand Up @@ -74,10 +75,10 @@ jobs:

tagNewVersion="$(semver -i patch "$tagPrevVersion")"

echo "$tagPrevVersion" > ./cicd/tag-deps-version.txt
echo "$tagNewVersion" >> ./cicd/tag-deps-version.txt
echo "$tagPrevVersion" > "$deps_file"
echo "$tagNewVersion" >> "$deps_file"

git add ./cicd/tag-base-version.txt
git add "$deps_file"
if git commit -m "bump dependency release to $tagNewVersion"; then
push=1
fi
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deps-release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- id: tag
name: Determine tag
run: |
old_version="$(head -n 1 ./cicd/tag-deps-version.txt)"
deps_file="./cicd/tag-deps-version.txt"
old_version="$(head -n 1 "$deps_file")"
old_ref_name="v$old_version"
new_version="$(tail -n 1 ./cicd/tag-deps-version.txt)"
new_version="$(tail -n 1 "$deps_file")"
new_ref_name="v$new_version"

create=true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
chmod +x /usr/local/bin/kubectl-kuttl

- name: create kind cluster
uses: helm/kind-action@v1.8.0
uses: helm/kind-action@v1.9.0

- name: set up helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4

- name: run e2e test
run: kubectl kuttl test
4 changes: 2 additions & 2 deletions cicd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#syntax=docker/dockerfile-upstream:1.5
ARG GO_APP

FROM alpine:3.19.0 as deps
FROM alpine:3.19.1 as deps

ARG GO_APP
ARG GORELEASER_DIST_DIR=/go/src/dist
Expand All @@ -28,7 +28,7 @@ RUN <<EOT
cp ${BIN_PATH} /go/bin
EOT

FROM alpine:3.19.0
FROM alpine:3.19.1

ARG GO_APP
ENV GO_APP ${GO_APP}
Expand Down
2 changes: 1 addition & 1 deletion cicd/tag-deps-version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.14.0
0.14.1
0.14.2