Skip to content

Commit ab99b79

Browse files
committed
tmp
1 parent 2781f3f commit ab99b79

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/ta.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,13 @@ jobs:
147147
name: Sign
148148
runs-on: ubuntu-24.04
149149
needs: [check-inputs, build]
150+
environment: stage
150151
env:
151152
CI_TARGET_ENV: ${{ inputs.target_env }}
153+
CI_AWS_ROLE: ${{ secrets.AWS_ROLE }}
152154
permissions:
153155
contents: read
156+
id-token: write
154157
steps:
155158
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # pin@v6.0.1
156159
- uses: cachix/install-nix-action@0b0e072294b088b73964f1d72dfdac0951439dbd # pin@v31.8.4
@@ -165,6 +168,17 @@ jobs:
165168
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # pin@v2.8.0
166169
with:
167170
key: custom-${{ hashFiles('**/*.nix', 'flake.lock') }}
171+
172+
- name: Check secrets
173+
run: |
174+
set -Eeuxo pipefail
175+
echo $CI_AWS_ROLE | wc
176+
- name: Configure AWS credentials
177+
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # pin@v5.1.1
178+
with:
179+
aws-region: eu-central-1
180+
role-to-assume: ${{ secrets.AWS_ROLE }}
181+
168182
- name: Print environment
169183
run: |
170184
uname -a

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
1111
repository = "https://github.com/worldcoin/orb-rustzone-ci"
1212

1313
[workspace.dependencies.orb-x-optee]
14-
branch = "main"
14+
# branch = "main"
15+
branch = "thebutlah/test-ci"
1516
git = "https://github.com/worldcoin/orb-software"

0 commit comments

Comments
 (0)