-
Notifications
You must be signed in to change notification settings - Fork 263
41 lines (35 loc) · 1.08 KB
/
build_nix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "Test nix package on Ubuntu"
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Building package
run: nix build .
- name: Write a gimme-aws-creds config file for testing
run: |
cat > ~/.okta_aws_login_config <<EOF
[default]
okta_org_url = https://foobar.okta.com
okta_auth_server =
client_id =
gimme_creds_server = appurl
aws_appname =
aws_rolename =
write_aws_creds = False
cred_profile = role
okta_username = [email protected]
app_url = https://foobar.okta.com/home/amazon_aws/00000000000000000000/111
resolve_aws_alias = False
preferred_mfa_type =
aws_default_duration = 36000
device_token =
output_format = json
EOF
- name: Check gimme-aws-creds version
run: ./result/bin/gimme-aws-creds --version