Skip to content

Commit

Permalink
Merge pull request #12 from titel-media/chore/remove-vpn
Browse files Browse the repository at this point in the history
Remove vpn from orb
  • Loading branch information
duksis authored Mar 21, 2022
2 parents 0bbd50d + 5f66f90 commit fd52b40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
cli: circleci/[email protected].4
cli: circleci/[email protected].9

resources:
semver_tags: &semver_tags
Expand All @@ -25,7 +25,7 @@ workflows:
- test
filters:
branches:
ignore: master
ignore: main
tags:
ignore: /.*/
context: orb-publishing
Expand Down
7 changes: 3 additions & 4 deletions src/@orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: 2.1
description: Google Kubernetes Engine (GKE) Orb

orbs:
gcloud: circleci/[email protected]
gcr: circleci/[email protected]
k8s: circleci/[email protected]
vpn: titel-media/[email protected]
gcloud: circleci/[email protected]
gcr: circleci/[email protected]
k8s: circleci/[email protected]
5 changes: 0 additions & 5 deletions src/commands/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ description: "Install `gcloud` and `kubectl` if not already installed."
steps:
- gcloud/install
- k8s/install
- when:
condition: $WIREGUARD_CONFIG
steps:
- vpn/install
- vpn/initialize
11 changes: 1 addition & 10 deletions src/jobs/publish-and-rollout-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: "Update cluster with new Docker image."
machine:
machine:
image: ubuntu-1604:202004-01
parameters:
cluster:
Expand Down Expand Up @@ -57,11 +57,6 @@ parameters:
description: >
Extra flags to pass to docker build. For examples, see
https://docs.docker.com/engine/reference/commandline/build
disable_vpn:
type: string
default: ""
description: >
Avoid connecting to the VPN if value provided
steps:
- add_ssh_keys
- checkout-submodule
Expand All @@ -79,10 +74,6 @@ steps:
tag: << parameters.tag >>
path: <<parameters.cwd-path-for-build>>
extra_build_args: <<parameters.extra_build_args>>
- unless:
condition: <<parameters.disable_vpn>>
steps:
- vpn/connect
- gcr/push-image:
registry-url: <<parameters.registry-url>>
google-project-id: <<parameters.google-project-id>>
Expand Down

0 comments on commit fd52b40

Please sign in to comment.