Skip to content

Commit

Permalink
Revert "Update workflows to actions"
Browse files Browse the repository at this point in the history
This reverts commit 0edcbbd.
  • Loading branch information
ahosgood committed Sep 21, 2023
1 parent 0edcbbd commit 2053041
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/branch-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- name: Get tag
id: version-tag
uses: ./.github/actions/get-version-tag
uses: ./.github/workflows/_get-version-tag.yml
- name: Debug
run: echo "Clean up Docker image ${{ vars.DOCKER_IMAGE_NAME }}:${{ steps.version-tag.outputs.VERSION }}"
- name: Delete image
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cd-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/checkout@v3
- name: Get tag
id: version-tag
uses: ./.github/actions/get-version-tag
uses: ./.github/workflows/_get-version-tag.yml
- name: Build
uses: ./.github/actions/docker-build
uses: ./.github/workflows/_docker-build.yml
with:
version: ${{ steps.version-tag.outputs.VERSION }}
- name: Install AWS CLI
uses: ./.github/actions/install-aws
uses: ./.github/workflows/_install-aws.yml
# TODO: Deploy new feature environment
6 changes: 3 additions & 3 deletions .github/workflows/cd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- uses: actions/checkout@v3
- name: Get tag
id: version-tag
uses: ./.github/actions/get-version-tag
uses: ./.github/workflows/_get-version-tag.yml
- name: Build
uses: ./.github/actions/docker-build
uses: ./.github/workflows/_docker-build.yml
with:
version: ${{ steps.version-tag.outputs.VERSION }} # (latest)
- name: Install AWS CLI
uses: ./.github/actions/install-aws
uses: ./.github/workflows/_install-aws.yml
- name: Deploy to AWS
run: aws ssm put-parameter --profile preview --name "/devops/private-beta/version" --type "String" --value "${{ steps.version-tag.outputs.VERSION }}" --overwrite
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
ci:
name: Tests
uses: ./.github/actions/tests
uses: ./.github/workflows/_tests.yml
with:
python-version: ${{ vars.CI_PYTHON_VERSION }}
poetry-version: ${{ vars.CI_POETRY_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/platformsh-cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
jobs:
ci:
name: CI
uses: ./.github/actions/tests
uses: ./.github/workflows/_tests.yml
with:
python-version: ${{ vars.CI_PYTHON_VERSION }}
poetry-version: ${{ vars.CI_POETRY_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platformsh-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
ci:
name: CI
uses: ./.github/actions/tests
uses: ./.github/workflows/_tests.yml
with:
python-version: ${{ vars.CI_PYTHON_VERSION }}
poetry-version: ${{ vars.CI_POETRY_VERSION }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
- uses: actions/checkout@v3
- name: Get tag
id: version-tag
uses: ./.github/actions/get-version-tag
uses: ./.github/workflows/_get-version-tag.yml
- name: Build
uses: ./.github/actions/docker-build
uses: ./.github/workflows/_docker-build.yml
with:
version: ${{ steps.version-tag.outputs.VERSION }}
latest: true
- name: Install AWS CLI
uses: ./.github/actions/install-aws
uses: ./.github/workflows/_install-aws.yml
- name: Deploy to AWS
run: aws ssm put-parameter --profile staging --name "/devops/private-beta/version" --type "String" --value "${{ steps.version-tag.outputs.VERSION }}" --overwrite

0 comments on commit 2053041

Please sign in to comment.