mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-30 02:28:48 -04:00
fix: buildvcs unable to fetch vcs information (#228)
This commit is contained in:
parent
1dcb6ed142
commit
e97eb1fa52
3 changed files with 12 additions and 2 deletions
10
.github/actions/build_cli/action.yml
vendored
10
.github/actions/build_cli/action.yml
vendored
|
@ -10,10 +10,16 @@ runs:
|
||||||
build-essential cmake \
|
build-essential cmake \
|
||||||
-y
|
-y
|
||||||
shell: bash
|
shell: bash
|
||||||
|
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||||
|
- name: Mark repository safe
|
||||||
|
run: |
|
||||||
|
git config --global --add safe.directory /__w/constellation/constellation
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.1'
|
go-version: '1.18'
|
||||||
- name: Build CLI
|
- name: Build CLI
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -26,7 +32,7 @@ runs:
|
||||||
- name: Build hack/pcr-reader
|
- name: Build hack/pcr-reader
|
||||||
run: |
|
run: |
|
||||||
cd hack/pcr-reader/
|
cd hack/pcr-reader/
|
||||||
go build -buildvcs=false .
|
go build .
|
||||||
echo "$(pwd)" >> $GITHUB_PATH
|
echo "$(pwd)" >> $GITHUB_PATH
|
||||||
export PATH="$PATH:$(pwd)"
|
export PATH="$PATH:$(pwd)"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
2
.github/workflows/e2e-test-azure.yml
vendored
2
.github/workflows/e2e-test-azure.yml
vendored
|
@ -13,6 +13,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Run Azure E2E test
|
- name: Run Azure E2E test
|
||||||
uses: ./.github/actions/e2e_test
|
uses: ./.github/actions/e2e_test
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/e2e-test-gcp.yml
vendored
2
.github/workflows/e2e-test-gcp.yml
vendored
|
@ -13,6 +13,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Run GCP E2E test
|
- name: Run GCP E2E test
|
||||||
uses: ./.github/actions/e2e_test
|
uses: ./.github/actions/e2e_test
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue