Skip to content

Commit

Permalink
requirements, goldenimage forkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-inqwise committed Sep 4, 2024
1 parent 7ab11c4 commit bd4a611
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 77 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to S3 on Tag
name: Openvpn workflow

on:
push:
Expand All @@ -11,22 +11,17 @@ on:
- '[0-9]+.[0-9]+.[0-9]+-(CR|Beta|milestone)[0-9]*'

permissions:
id-token: write # Required for requesting the JWT
contents: read # Required for actions/checkout
id-token: write
contents: read

jobs:
check-out-repository:
runs-on: ubuntu-latest
continue-on-error: false
env:
IS_TEST: ${{ github.ref == 'refs/heads/test-workflow' }}
TAG_NAME: ${{ github.ref_name }}
REPO_NAME: ${{ github.repository }}
goldenimage-workflow:
uses: inqwise/ansible-automation-toolkit/.github/workflows/goldenimage-workflow.yml@default
with:
S3_BASE_PATH: "s3://bootstrap-opinion-stg/playbooks"

steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: calling reusable workflow
uses: ./.github/workflows/reusable-workflow.yml
ROLE: "arn:aws:iam::992382682634:role/ansible-playbook-workflow-role"
REGION: "il-central-1"
CPU_ARCH: "x86"
OS: "amzn2"
APP: "openvpn"
TOOLKIT_VERSION: "default"
60 changes: 0 additions & 60 deletions .github/workflows/reusable-workflow.yml

This file was deleted.

9 changes: 9 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---

roles:
- name: users
src: https://github.com/robertdebock/ansible-role-users/archive/refs/tags/5.6.0.tar.gz

collections:
- name: https://github.com/inqwise/ansible-common-collection/releases/download/v1/inqwise-common-1.0.0.tar.gz
- name: https://github.com/inqwise/ansible-stack-trek/releases/download/v1/inqwise-stacktrek-1.0.0.tar.gz

0 comments on commit bd4a611

Please sign in to comment.