diff --git a/.github/.secret b/.github/.secret index 8e62842..2bd1a61 100644 --- a/.github/.secret +++ b/.github/.secret @@ -1,2 +1,2 @@ -AWS_ACCESS_KEY_ID: 1234 -AWS_SECRET_ACCESS_KEY: 5678 \ No newline at end of file +AWS_ACCESS_KEY_ID: fake-aws-access-key +AWS_SECRET_ACCESS_KEY: fake-aws-secret-access-key \ No newline at end of file diff --git a/.github/workflows/create-bosh-release.yml b/.github/workflows/create-bosh-release.yml index 45099ff..326ad89 100644 --- a/.github/workflows/create-bosh-release.yml +++ b/.github/workflows/create-bosh-release.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Acquire latest CF CLI V8 linux binary - run: | - curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=bosh-package-cf-cli-release-workflow" | tar -zx - ./cf version + # - name: Acquire latest CF CLI V8 linux binary + # run: | + # curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=bosh-package-cf-cli-release-workflow" | tar -zx + # ./cf version # - name: Acquire latest CF CLI V8 linux binary # run: | @@ -98,6 +98,12 @@ jobs: ## apt-get update ## apt-get install -y build-essential + - name: Acquire latest CF CLI V8 linux binary + run: | + wget --trust-server-names "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=bosh-package-cf-cli-release-workflow" + tar -xvzf cf8-cli_*_linux_x86-64.tgz --wildcards 'cf*' + ./cf version + - name: Create bosh release candidate env: AWS_REGION: ${{ vars.AWS_REGION }} @@ -130,8 +136,8 @@ jobs: git commit -m "bump v6 cli to ${LATEST_V6_CLI_VERSION}" echo else echo "Release has latest v6 CLI version, skipping bump." - git log -5 - # - name: | + # git log -5 + # # - name: | # Test Bosh release # - Claim Shepherd env # - Deploy release candidate diff --git a/Makefile b/Makefile index 8aa0cbc..fd04101 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ run: ls .github/**/* | entr -c \ - act -s GITHUB_TOKEN="$(gh auth token)" \ - --var-file .github/.vars \ - --secret-file .github/.secret \ - -j bosh_release_create_candidate \ No newline at end of file + act --secret GITHUB_TOKEN="$(gh auth token)" \ + --var-file .github/.vars \ + --secret-file .github/.secret \ + --workflows .github/workflows/create-bosh-release.yml \ + --job bosh_release_create_candidate