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

Update build deps #380

Merged
merged 5 commits into from
Nov 27, 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
4 changes: 2 additions & 2 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: '3.6.3' # Specify the Helm version you want to use

Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-${{ matrix.type }}:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
if: steps.check.outputs.needs-build == 'true'
id: prepare
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Build
id: build-and-push
if: steps.check.outputs.needs-build == 'true'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-pg-build:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
if: steps.check.outputs.needs-build == 'true'
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Build
id: build-and-push
if: steps.check.outputs.needs-build == 'true'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-pg-run:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
if: steps.check.outputs.needs-build == 'true'
id: prepare
Expand All @@ -128,7 +128,7 @@ jobs:
- name: Build
if: steps.check.outputs.needs-build == 'true'
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
Expand Down Expand Up @@ -175,15 +175,15 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -220,14 +220,14 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -263,15 +263,15 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: ./.github/actions/prepare
id: prepare
Expand All @@ -315,7 +315,7 @@ jobs:
- name: Build Backend Builder
id: build-backend-builder
if: steps.check-backend-builder.outputs.needs-build == 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile.backend-build
Expand All @@ -330,7 +330,7 @@ jobs:
- name: Build Backend Base
id: build-backend-base
if: steps.check-backend-base.outputs.needs-build == 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile.backend-base
Expand All @@ -339,7 +339,7 @@ jobs:

- name: Build Backend
id: build-backend
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile
Expand All @@ -359,7 +359,7 @@ jobs:

- name: Build & Push Frontend
id: build-and-push-frontend
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
push: true
Expand All @@ -379,7 +379,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
Expand All @@ -433,7 +433,7 @@ jobs:
cp "target/${krb_zipfile}" "../${{ steps.prepare.outputs.service-name }}"
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./${{ steps.prepare.outputs.service-name }}
push: true
Expand All @@ -458,7 +458,7 @@ jobs:
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Login to GitHub Container Registry
Expand All @@ -474,7 +474,7 @@ jobs:
helm package -u -d deploy/build --version="$VERSION" --app-version="$VERSION" deploy
echo "VERSION=$VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: new-release
path: deploy/build/amrc-connectivity-stack-${{ env.VERSION }}.tgz
Expand All @@ -489,11 +489,11 @@ jobs:
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: release
- name: add-new-release
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: new-release
path: build
Expand All @@ -502,7 +502,7 @@ jobs:
cd build
helm repo index --url https://amrc-factoryplus.github.io/amrc-connectivity-stack/build .
- name: commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
id: auto_commit_action
with:
commit_message: Release ${{ github.event.release.tag_name }}
Expand Down
14 changes: 6 additions & 8 deletions acs-configdb/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading