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

Update pipeline to be self-flying #71

Merged
merged 4 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions ci/init-config.yml

This file was deleted.

42 changes: 17 additions & 25 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ jobs:
- get: src
params: {depth: 1}
trigger: true
- get: secrets
# Remember to manually trigger a new build if you upload a new version
# of the credentials file.
trigger: false
- set_pipeline: ((name))
- set_pipeline: self
file: src/ci/pipeline.yml
var_files:
- secrets/((name)).yml

- name: test
plan:
Expand All @@ -22,12 +16,8 @@ jobs:
trigger: true
passed: [reconfigure]
- task: test
image: general-task
config:
image_resource:
type: docker-image
source:
repository: python
tag: "3.8"
inputs:
- name: src
platform: linux
Expand Down Expand Up @@ -77,7 +67,7 @@ jobs:
path: src
manifest: src/cf/proxy-manifest.yml
vars:
cf_url: ((dev-cf-url))
cf_url: ((dev-cf-api-url))
uaa_auth_url: ((dev-uaa-auth-url))
uaa_base_url: ((dev-uaa-base-url))
uaa_client_id: ((dev-uaa-client-id))
Expand All @@ -88,7 +78,12 @@ jobs:

- task: update-networking
image: general-task
file: src/ci/update-networking.yml
config:
platform: linux
inputs:
- name: src
run:
path: src/ci/update-networking.sh
params: &dev-cf-auth-params
CF_API_URL: ((dev-cf-api-url))
CF_USERNAME: ((dev-cf-username))
Expand Down Expand Up @@ -142,7 +137,12 @@ jobs:

- task: initialize-config
image: general-task
file: src/ci/init-config.yml
config:
platform: linux
inputs:
- name: src
run:
path: src/ci/init-config.sh
params:
<<: *dev-cf-auth-params

Expand Down Expand Up @@ -194,14 +194,6 @@ jobs:

resources:

- name: secrets
type: s3-iam
icon: cloud-lock
source:
region_name: ((concourse-varz-bucket-region))
bucket: ((concourse-varz-bucket))
versioned_file: ((name)).yml

- name: src
type: git
icon: github-circle
Expand All @@ -218,7 +210,7 @@ resources:
email: ((docker-email))
username: ((docker-username))
password: ((docker-password))
repository: ((docker-image-opensearch-dev))
repository: cloudgovoperations/test-opensearch

- name: dev-opensearch-dashboards-image
type: docker-image
Expand All @@ -227,7 +219,7 @@ resources:
email: ((docker-email))
username: ((docker-username))
password: ((docker-password))
repository: ((docker-image-opensearch-dashboards-dev))
repository: cloudgovoperations/test-opensearch-dashboards

- name: cf-dev
type: cf
Expand Down
7 changes: 0 additions & 7 deletions ci/update-networking.yml

This file was deleted.