ci: Unify keys and add private key for testing purposes
This commit enables PR's to run inegration tests by relying on keys with only the necessary permissions to run on CI workloads Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
4
.github/workflows/test-integration.yml
vendored
4
.github/workflows/test-integration.yml
vendored
@@ -57,11 +57,9 @@ jobs:
|
||||
sudo chmod +x /usr/local/bin/sops
|
||||
|
||||
- name: "Import Dagger private key"
|
||||
env:
|
||||
DAGGER_AGE_KEY: ${{ secrets.DAGGER_AGE_KEY }}
|
||||
run: |
|
||||
mkdir -p ~/.config/dagger
|
||||
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
|
||||
cp ./tests/age_key.txt ~/.config/dagger/keys.txt
|
||||
|
||||
- name: "Expose GitHub Runtime"
|
||||
uses: crazy-max/ghaction-github-runtime@v1
|
||||
|
4
.github/workflows/test-universe.yml
vendored
4
.github/workflows/test-universe.yml
vendored
@@ -49,11 +49,9 @@ jobs:
|
||||
sudo chmod +x /usr/local/bin/sops
|
||||
|
||||
- name: "Import Dagger private key"
|
||||
env:
|
||||
DAGGER_AGE_KEY: ${{ secrets.DAGGER_AGE_KEY }}
|
||||
run: |
|
||||
mkdir -p ~/.config/sops/age
|
||||
echo "$DAGGER_AGE_KEY" > ~/.config/sops/age/keys.txt
|
||||
echo ./tests/age_key.txt ~/.config/sops/age/keys.txt
|
||||
|
||||
- name: "Expose GitHub Runtime"
|
||||
uses: crazy-max/ghaction-github-runtime@v1
|
||||
|
Reference in New Issue
Block a user