Skip to content

Commit

Permalink
Update GHA workflow actions to latest versions
Browse files Browse the repository at this point in the history
Update frontend to Volto 16.24.0
Update backend to Plone 6.0.6
  • Loading branch information
jenkins-plone-org committed Oct 3, 2023
1 parent beff454 commit f1f1a23
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 29 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/backend-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run check
uses: plone/code-analysis-action@v2
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
working-directory: ./backend

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }}
uses: plone/[email protected]
Expand All @@ -102,11 +102,11 @@ jobs:
steps:

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

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/plone/ploneorg-backend
Expand All @@ -118,17 +118,17 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
context: backend
Expand All @@ -148,7 +148,7 @@ jobs:
url: https://testing.plone.org
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Deploy to testing.plone.org
uses: kitconcept/[email protected]
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
working-directory: ./frontend
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

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

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
Expand All @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run check
uses: plone/code-analysis-action@v2
Expand All @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run check
uses: plone/code-analysis-action@v2
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run check
uses: plone/code-analysis-action@v2
Expand All @@ -106,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run check
uses: plone/code-analysis-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-tag-release-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- meta
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
${{ env.IMAGE_NAME_PREFIX }}-${{ env.FRONTEND_IMAGE_NAME_SUFFIX }}
Expand All @@ -46,9 +46,9 @@ jobs:
type=pep440,pattern={{version}}
type=sha
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/frontend-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
steps:

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

- name: Docker meta
id: meta
Expand All @@ -110,17 +110,17 @@ jobs:
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
context: frontend/
Expand All @@ -141,7 +141,7 @@ jobs:
url: https://testing.plone.org
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Deploy to testing.plone.org
uses: kitconcept/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/redeploy-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
url: https://testing.plone.org
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Deploy 'latest' image tags to testing.plone.org
uses: kitconcept/[email protected]
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
1.0.4.dev (unreleased)

1.0.12.dev0 (unreleased)

- Update GHA workflow actions to latest versions [fredvd]

- Update to Volto 16.24.0 [fredvd]

- Update to Plone backend 6.0.6 [fredvd]

- Update to Plone 6.0.3 [fredvd]

Expand Down
2 changes: 1 addition & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ live.cfg
inituser
pip-wheel-metadata
pyvenv.cfg
constraints.txt
.python-version
1 change: 1 addition & 0 deletions backend/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-c https://dist.plone.org/release/6.0.6/constraints.txt
5 changes: 4 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,8 @@
"resolutions": {
"@plone/scripts": "^2.2.1"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"volta": {
"node": "16.20.2"
}
}
2 changes: 1 addition & 1 deletion frontend/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.19.0
16.24.0
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.12
1.0.12.dev0

0 comments on commit f1f1a23

Please sign in to comment.