From fe3dd127d21a9ec859ec120090aab6a078817896 Mon Sep 17 00:00:00 2001 From: Seth Levine Date: Fri, 7 Jan 2022 15:54:44 -0500 Subject: [PATCH] Delete Nightly Build (#865) --- .github/workflows/nightly-build.yml | 58 ----------------------------- 1 file changed, 58 deletions(-) delete mode 100644 .github/workflows/nightly-build.yml diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml deleted file mode 100644 index 74cac516e7..0000000000 --- a/.github/workflows/nightly-build.yml +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file is distributed -# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -# express or implied. See the License for the specific language governing -# permissions and limitations under the License. -name: Nightly Build - -on: - schedule: - - cron: '0 0 * * *' # run at mid night - workflow_dispatch: - -env: - IMAGE_NAME: aws-otel-collector - ECR_REPO: aws-otel-test/nightly-build - -jobs: - - build: - name: Nightly Build - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.x - uses: actions/setup-go@v2 - with: - go-version: ^1.17 - id: go - - - name: Check out code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Unit test - run: make test - - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.INTEG_TEST_AWS_KEY_ID }} - aws-secret-access-key: ${{ secrets.INTEG_TEST_AWS_KEY_SECRET }} - aws-region: us-east-1 - - - name: upload to ECR - run: | - aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/aws-otel-test - make amd64-build - docker build -t $IMAGE_NAME -f cmd/awscollector/Dockerfile . - docker tag $IMAGE_NAME public.ecr.aws/$ECR_REPO:latest - docker push public.ecr.aws/$ECR_REPO:latest \ No newline at end of file