generated from cloudposse/example-app-on-eks
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from cloudposse-examples/DEV-1567-moved-org
chore: Action Versions and Default Branches
- Loading branch information
Showing
14 changed files
with
40 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,13 +92,13 @@ jobs: | |
in: ${{ inputs.image }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Environment Info | ||
uses: cloudposse/github-action-interface-environment@0.2.0 | ||
uses: cloudposse/github-action-interface-environment@0.3.0 | ||
id: environment | ||
with: | ||
implementation_repository: 'cloudposse/infra-live' | ||
implementation_repository: 'cloudposse-examples/infra-config' | ||
implementation_path: '.github/environments/' | ||
implementation_file: 'eks-argocd.yml' | ||
implementation_ref: 'main' | ||
|
@@ -108,14 +108,14 @@ jobs: | |
repository: ${{ inputs.repository }} | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
with: | ||
aws-region: ${{ steps.environment.outputs.region }} | ||
role-to-assume: ${{ steps.environment.outputs.role }} | ||
role-skip-session-tagging: true | ||
|
||
- name: Deploy | ||
uses: cloudposse/[email protected].0 | ||
uses: cloudposse/[email protected].1 | ||
id: deploy | ||
with: | ||
toolchain: ${{ inputs.toolchain }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,7 +120,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Preview deployments controller | ||
uses: cloudposse/github-action-preview-environment-controller@0.8.0 | ||
uses: cloudposse/github-action-preview-environment-controller@0.9.0 | ||
id: controller | ||
with: | ||
labels: ${{ inputs.labels }} | ||
|
@@ -162,13 +162,13 @@ jobs: | |
desc: Environment purged | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Environment Info | ||
uses: cloudposse/[email protected] | ||
id: environment | ||
with: | ||
implementation_repository: 'cloudposse/infra-live' | ||
implementation_repository: 'cloudposse-examples/infra-config' | ||
implementation_path: '.github/environments/' | ||
implementation_file: 'eks-argocd.yml' | ||
implementation_ref: 'main' | ||
|
@@ -178,14 +178,14 @@ jobs: | |
repository: ${{ inputs.repository }} | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
with: | ||
aws-region: ${{ steps.environment.outputs.region }} | ||
role-to-assume: ${{ steps.environment.outputs.role }} | ||
role-skip-session-tagging: true | ||
|
||
- name: Deploy | ||
uses: cloudposse/[email protected].0 | ||
uses: cloudposse/[email protected].1 | ||
id: deploy | ||
with: | ||
toolchain: ${{ inputs.toolchain }} | ||
|
@@ -221,7 +221,7 @@ jobs: | |
contents: read | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Seek deployment | ||
uses: cloudposse/[email protected] | ||
|
@@ -233,11 +233,11 @@ jobs: | |
status: success | ||
|
||
- name: Environment Info | ||
uses: cloudposse/[email protected] | ||
if: ${{ steps.deployment.outputs.id != '' }} | ||
uses: cloudposse/[email protected] | ||
id: environment | ||
with: | ||
implementation_repository: 'cloudposse/infra-live' | ||
implementation_repository: 'cloudposse-examples/infra-config' | ||
implementation_path: '.github/environments/' | ||
implementation_file: 'eks-argocd.yml' | ||
implementation_ref: 'main' | ||
|
@@ -247,15 +247,15 @@ jobs: | |
repository: ${{ inputs.repository }} | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
if: ${{ steps.deployment.outputs.id != '' }} | ||
with: | ||
aws-region: ${{ steps.environment.outputs.region }} | ||
role-to-assume: ${{ steps.environment.outputs.role }} | ||
role-skip-session-tagging: true | ||
|
||
- name: Destroy | ||
uses: cloudposse/[email protected].0 | ||
uses: cloudposse/[email protected].1 | ||
if: ${{ steps.deployment.outputs.id != '' }} | ||
id: deploy | ||
with: | ||
|
@@ -278,7 +278,7 @@ jobs: | |
ref: ${{ github.sha }} | ||
|
||
- name: Inactivate deployment | ||
uses: chrnorm/[email protected].0 | ||
uses: chrnorm/[email protected].1 | ||
if: ${{ steps.deployment.outputs.id != '' }} | ||
with: | ||
state: inactive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,17 +70,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
with: | ||
aws-region: ${{ secrets.ecr-region }} | ||
role-to-assume: ${{ secrets.ecr-iam-role }} | ||
|
||
- name: Build | ||
id: build | ||
uses: cloudposse/github-action-docker-build-push@1.13.0 | ||
uses: cloudposse/github-action-docker-build-push@1.14.0 | ||
with: | ||
organization: ${{ inputs.organization }} | ||
repository: ${{ inputs.repository }} | ||
|
@@ -103,17 +103,17 @@ jobs: | |
needs: [ build ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
with: | ||
aws-region: ${{ secrets.ecr-region }} | ||
role-to-assume: ${{ secrets.ecr-iam-role }} | ||
|
||
- name: Tests | ||
id: test | ||
uses: cloudposse/[email protected].2 | ||
uses: cloudposse/[email protected].3 | ||
with: | ||
file: test/docker-compose.yml | ||
service: app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2.2.0 | ||
uses: aws-actions/configure-aws-credentials@v4.0.1 | ||
with: | ||
aws-region: ${{ secrets.ecr-region }} | ||
role-to-assume: ${{ secrets.ecr-iam-role }} | ||
|
@@ -99,7 +99,7 @@ jobs: | |
false: | ||
image: ${{ inputs.repository }}/${{ inputs.app }} | ||
- uses: cloudposse/[email protected].1 | ||
- uses: cloudposse/[email protected].2 | ||
id: promote | ||
with: | ||
registry: ${{ secrets.registry }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ RUN cd /src && \ | |
go build -o example-app | ||
|
||
# Build the final image | ||
FROM alpine:3.18 as final | ||
FROM alpine:3.19 as final | ||
|
||
# Install the cloudposse alpine repository | ||
ADD https://apk.cloudposse.com/[email protected] /etc/apk/keys/ | ||
|