Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation-worning #64

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
41 changes: 41 additions & 0 deletions .github/workflows/pulumi_preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Pulumi Preview
on:
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
preview:
name: Pulumi Preview
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::593291632749:role/data-engineering-ga-exports
role-session-name: githubaction
role-skip-session-tagging: true
role-duration-seconds: 3600
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Pulumi Preview
uses: pulumi/actions@v4
env:
PULUMI_CONFIG_PASSPHRASE: ""
with:
command: preview
stack-name: "data-engineering-exports"
cloud-url: s3://data-engineering-pulumi.analytics.justice.gov.uk
40 changes: 40 additions & 0 deletions .github/workflows/pulumi_up.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Pulumi Up
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
up:
name: Pulumi Up
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::593291632749:role/data-engineering-ga-exports
role-session-name: githubaction
role-skip-session-tagging: true
role-duration-seconds: 3600
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Pulumi Up
uses: pulumi/actions@v4
env:
PULUMI_CONFIG_PASSPHRASE: ""
with:
command: up
stack-name: "data-engineering-exports"
5 changes: 5 additions & 0 deletions pull_datasets/pull_pulumi_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: pull-pulumi-test
pull_arns:
- arn:aws:iam::684969100054:role/k8s-admin-role
users:
- alpha_user_murad-ali-moj
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
boto3>=1.17.0,<2.0.0
data-engineering-pulumi-components<1.0.0
dataengineeringutils3>=1.1.0,<2.0.0
pulumi>=3.0.0,<4.0.0
pulumi==3.62.0
pulumi-aws>=5.0.0,<6.0.0
pulumi-local<1.0.0
pytest~=7.1.0
Expand Down