Skip to content

Commit

Permalink
Fix token parameter and remove outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Sep 21, 2023
1 parent a05d03d commit 5c9628d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
11 changes: 5 additions & 6 deletions .github/actions/awx_ci_setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# This currently *always* uses the "warm build cache" image
# We should do something to allow forcing a rebuild, probably by looking for
# some string in the commit message or something.

name: Setup images for AWX
description: Builds new awx_devel image
inputs:
Expand All @@ -27,10 +23,13 @@ runs:
run: |
echo "${{ inputs.github-token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Pre-pull latest available devel image and build HEAD on top of it
- name: Pre-pull latest devel image to warm cache
shell: bash
run: docker pull ghcr.io/${{ github.repository_owner }}/awx_devel:${{ github.base_ref }}

- name: Build image for current source checkout
shell: bash
run: |
docker pull ghcr.io/${{ github.repository_owner }}/awx_devel:${{ github.base_ref }}
DEV_DOCKER_TAG_BASE=ghcr.io/${{ github.repository_owner }} \
COMPOSE_TAG=${{ github.base_ref }} \
make docker-compose-build
6 changes: 1 addition & 5 deletions .github/actions/run_awx_devel/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# This currently *always* uses the "warm build cache" image
# We should do something to allow forcing a rebuild, probably by looking for
# some string in the commit message or something.

name: Run AWX (devel environment)
name: Run AWX docker-compose
description: Runs AWX with `make docker-compose`
inputs:
build-ui:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
id: awx
with:
build-ui: false
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run smoke test
run: ansible-playbook tools/docker-compose/ansible/smoke-test.yml -v
Expand Down Expand Up @@ -156,7 +155,6 @@ jobs:
id: awx
with:
build-ui: false
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies for running tests
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
id: awx
with:
build-ui: true
github-token: ${{ secrets.GITHUB_TOKEN }}
log-filename: e2e-${{ matrix.job }}.log

- name: Pull awx_cypress_base image
Expand Down

0 comments on commit 5c9628d

Please sign in to comment.