|
7 | 7 |
|
8 | 8 | jobs:
|
9 | 9 | test:
|
10 |
| - if: ${{contains(github.event.pull_request.labels.*.name, 'desktop')}} |
| 10 | + if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'desktop') }} |
11 | 11 | name: Run Desktop E2E Tests
|
12 | 12 | runs-on: ${{ fromJSON(vars.RUNNER_UBUNTU_22) }}
|
13 | 13 | env:
|
14 | 14 | ENOS_VAR_boundary_edition: "ent"
|
15 | 15 | ENOS_VAR_e2e_debug_no_run: true
|
16 |
| - ENOS_VAR_boundary_license_path: "./license.hclic" |
17 | 16 | SETUP_CLI: true
|
18 | 17 | steps:
|
19 | 18 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
@@ -72,15 +71,14 @@ jobs:
|
72 | 71 | docker pull hashicorp/boundary-enterprise:latest
|
73 | 72 | docker save hashicorp/boundary-enterprise:latest | gzip > /tmp/boundary-enterprise.zip
|
74 | 73 |
|
75 |
| - # TODO: Set up license in a better way? Use directly rather than writing to file and pull from secrets manager |
76 | 74 | - name: Set up test infra
|
77 | 75 | id: infra
|
78 | 76 | run: |
|
79 |
| - echo "${{ secrets.BOUNDARY_ENT_LICENSE }}" > ./support/src/boundary-enterprise/enos/license.hclic |
80 | 77 | ssh-keygen -N '' -t ed25519 -f ~/.ssh/github_enos
|
81 | 78 | mkdir -p ./enos/terraform-plugin-cache
|
82 | 79 | export ENOS_VAR_enos_user=$GITHUB_ACTOR && \
|
83 | 80 | export ENOS_VAR_aws_ssh_private_key_path=~/.ssh/github_enos && \
|
| 81 | + export ENOS_VAR_boundary_license="${{ secrets.BOUNDARY_ENT_LICENSE }}" && \ |
84 | 82 | export ENOS_VAR_boundary_docker_image_name=hashicorp/boundary-enterprise:latest && \
|
85 | 83 | export ENOS_VAR_boundary_docker_image_file=/tmp/boundary-enterprise.zip && \
|
86 | 84 | enos scenario launch --timeout 60m0s --chdir ./support/src/boundary-enterprise/enos e2e_ui_docker_ent builder:crt
|
|
0 commit comments