diff --git a/provider-ci/internal/pkg/config.go b/provider-ci/internal/pkg/config.go index 4612c11684..fae84025a5 100644 --- a/provider-ci/internal/pkg/config.go +++ b/provider-ci/internal/pkg/config.go @@ -205,12 +205,6 @@ type Config struct { // https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22docker%3A%22&type=code Docker bool `yaml:"docker"` - // SSHPrivateKey sets up SSH with specified private key before running - // tests in CI job. This should be provided from a secret. Used by the - // docker provider only: - // https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22sshPrivateKey%3A%22&type=code - SSHPrivateKey string `yaml:"sshPrivateKey"` - // GCP authenticates with GCP before running tests in CI job. Used in gcp // and docker: // https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22gcp%3A%22&type=code diff --git a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/main.yml b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/main.yml index 4c37183952..661461d63e 100644 --- a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/main.yml +++ b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/main.yml @@ -200,12 +200,6 @@ jobs: - name: Login to Google Cloud Registry run: gcloud --quiet auth configure-docker #{{- end }}# - #{{- if .Config.SSHPrivateKey }}# - - name: Setup SSH key - uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # v0.7.0 - with: - ssh-private-key: #{{ .Config.SSHPrivateKey }}# - #{{- end }}# #{{- if index .Config.SetupScript }}# - name: Run setup script run: #{{ index .Config.SetupScript }}# diff --git a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/nightly-test.yml b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/nightly-test.yml index 77b97fd233..4327d7e747 100644 --- a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/nightly-test.yml +++ b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/nightly-test.yml @@ -109,12 +109,6 @@ jobs: - name: Login to Google Cloud Registry run: gcloud --quiet auth configure-docker #{{- end }}# - #{{- if .Config.SSHPrivateKey }}# - - name: Setup SSH key - uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # v0.7.0 - with: - ssh-private-key: #{{ .Config.SSHPrivateKey }}# - #{{- end }}# #{{- if index .Config.SetupScript }}# - name: Run setup script run: #{{ index .Config.SetupScript }}# diff --git a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/prerelease.yml b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/prerelease.yml index ad90b6d47a..d730349e80 100644 --- a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/prerelease.yml +++ b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/prerelease.yml @@ -139,12 +139,6 @@ jobs: - name: Login to Google Cloud Registry run: gcloud --quiet auth configure-docker #{{- end }}# - #{{- if .Config.SSHPrivateKey }}# - - name: Setup SSH key - uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # v0.7.0 - with: - ssh-private-key: #{{ .Config.SSHPrivateKey }}# - #{{- end }}# #{{- if index .Config.SetupScript }}# - name: Run setup script run: #{{ index .Config.SetupScript }}# diff --git a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/release.yml b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/release.yml index 87bea980b2..9a4168d9ec 100644 --- a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/release.yml +++ b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/release.yml @@ -148,12 +148,6 @@ jobs: - name: Login to Google Cloud Registry run: gcloud --quiet auth configure-docker #{{- end }}# - #{{- if .Config.SSHPrivateKey }}# - - name: Setup SSH key - uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # v0.7.0 - with: - ssh-private-key: #{{ .Config.SSHPrivateKey }}# - #{{- end }}# #{{- if index .Config.SetupScript }}# - name: Run setup script run: #{{ index .Config.SetupScript }}# diff --git a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/run-acceptance-tests.yml b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/run-acceptance-tests.yml index 4f8a5b891f..9ba32e9d40 100644 --- a/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/run-acceptance-tests.yml +++ b/provider-ci/internal/pkg/templates/bridged-provider/.github/workflows/run-acceptance-tests.yml @@ -196,12 +196,6 @@ jobs: - name: Login to Google Cloud Registry run: gcloud --quiet auth configure-docker #{{- end }}# - #{{- if .Config.SSHPrivateKey }}# - - name: Setup SSH key - uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # v0.7.0 - with: - ssh-private-key: #{{ .Config.SSHPrivateKey }}# - #{{- end }}# #{{- if index .Config.SetupScript }}# - name: Run setup script run: #{{ index .Config.SetupScript }}# diff --git a/provider-ci/internal/pkg/templates/defaults.config.yaml b/provider-ci/internal/pkg/templates/defaults.config.yaml index 0c79147a2c..9fb1bb0086 100644 --- a/provider-ci/internal/pkg/templates/defaults.config.yaml +++ b/provider-ci/internal/pkg/templates/defaults.config.yaml @@ -210,11 +210,6 @@ checkUpstreamUpgrade: true # Used in 9 providers: https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22docker%3A%22&type=code #docker: false -# Setup SSH with specified private key before running tests in CI job. -# This should be provided from a secret -# Used by the docker provider only: https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22sshPrivateKey%3A%22&type=code -#sshPrivateKey: ${{ secrets.PRIVATE_SSH_KEY_FOR_DIGITALOCEAN }} - # Authenticate with GCP before running tests in CI job # Used in gcp and docker: https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22gcp%3A%22&type=code #gcp: false