-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: move to new CI flow Co-Authored-By: Joschka <joschka@users.noreply.github.com> * fix(ci): run on push & PRs Co-authored-by: Joschka de Cuveland <joschka.decuveland@digitalservice.bund.de> * fix(ci): checkout before running local action\n\nCo-authored-by: Joschka de Cuveland <joschka.decuveland@digitalservice.bund.de> * fix(content release): always run on workflow trigger * fix(content release): use new content file * fix(docker.sh): fix function returns * feat(Dockerfile): use npm ci & leaner app image * feat(docker.sh): add --appFromImage & e2e test on content deploy * fix(ci): typo * feat(contentDeploy): install repo if latest app image fails * fix(ci): correctly check step outcome * feat(docker): add hashes to image labels, deploy correct prod tag Co-Authored-By: Pram Gurusinga <9930966+pgurusinga@users.noreply.github.com> * fix(contentDeploy): use local content for hash Co-Authored-By: Pram Gurusinga <9930966+pgurusinga@users.noreply.github.com> --------- Co-authored-by: Joschka <joschka@users.noreply.github.com> Co-authored-by: Pram Gurusinga <9930966+pgurusinga@users.noreply.github.com>
- Loading branch information
1 parent
c37ce4e
commit 47b8103
Showing
16 changed files
with
374 additions
and
525 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
name: "Cached Checkout & Install" | ||
description: "Checks out repository, downloads node, caches node_modules and installs project" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
cache: "npm" | ||
- name: Cache node modules | ||
id: cache-npm | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} | ||
name: List the state of node modules | ||
continue-on-error: true | ||
run: npm list | ||
shell: bash | ||
- run: npm ci | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
.github/actions/parse-content-to-file/create_content_file.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.