Disable e2e tests temporarily (#785)

Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
Azeem Shaikh 2021-07-29 12:39:39 -07:00 committed by GitHub
parent 492d9cd29b
commit 851646d4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 9 deletions

View File

@ -77,23 +77,25 @@ jobs:
run: |
go mod download
- name: Run E2E
env:
- name: Run E2E
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
run: |
go env -w GOFLAGS=-mod=mod
make ci-e2e
echo "Skipping ci-e2e. Will be re-enabled soon."
#go env -w GOFLAGS=-mod=mod
#make ci-e2e
- name: Build docker image
run: make dockerbuild
- name: Test docker image
env:
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
run: |
mkdir $OUTPUT_PATH
docker run -e GITHUB_AUTH_TOKEN=$GITHUB_AUTH_TOKEN $IMAGE_NAME --show-details --repo=https://github.com/ossf/scorecard --metadata=openssf --format json > ./$OUTPUT_PATH/results.json
ginkgo -p -v --focus="E2E TEST:executable" ./e2e/...
echo "Skipping e2e tests. Will be re-enabled soon."
#mkdir $OUTPUT_PATH
#docker run -e GITHUB_AUTH_TOKEN=$GITHUB_AUTH_TOKEN $IMAGE_NAME --show-details --repo=https://github.com/ossf/scorecard --metadata=openssf --format json > ./$OUTPUT_PATH/results.json
#ginkgo -p -v --focus="E2E TEST:executable" ./e2e/...
- name: find comment
if: ${{ always() }}

View File

@ -96,7 +96,8 @@ tree-status: ## Verify tree is clean and all changes are committed
###############################################################################
################################## make build #################################
build-targets = build-proto generate-docs build-scorecard build-pubsub build-bq-transfer \
# TODO(azeems): Re-enable build-proto
build-targets = generate-docs build-scorecard build-pubsub build-bq-transfer \
build-add-script build-validate-script build-update-script dockerbuild
.PHONY: build $(build-targets)
build: ## Build all binaries and images in the reepo.