Skip to content

Commit

Permalink
chore: migrate jenkins job to k8s agent pipeline (#1251)
Browse files Browse the repository at this point in the history
<!-- By submitting a PR to this repository, you agree to the terms
within the [Auth0 Code of
Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
Please see the [contributing
guidelines](https://github.com/auth0/.github/blob/master/CONTRIBUTING.md)
for how to create and submit a high-quality PR for this repo. -->

### Changes

<!--
Please describe both what is changing and why this is important.
Include:
- Classes and methods added, deleted, deprecated, or changed
- Screenshots of new or changed UI, if applicable
- A summary of usage if this is a new feature or change to a public API
(this should also be added to relevant documentation once released)
-->

chore: migrate jenkins job to k8s agent pipeline

### References

<!--
Please include relevant links supporting this change such as a:

- support ticket
- community post
- StackOverflow post
- support forum thread

Please note any links that are not publicly accessible.
-->

### Testing

<!--
Please describe how this can be tested by reviewers. Be specific about
anything not tested and reasons why. If this library has unit and/or
integration testing, tests should be added for new functionality and
existing tests should complete without errors.
-->

- [ ] This change adds unit test coverage
- [ ] This change adds integration test coverage
- [ ] This change has been tested on the latest version of the
platform/language

### Checklist

- [ ] I have read the [Auth0 general contribution
guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
- [ ] I have read the [Auth0 Code of
Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
- [ ] All code quality tools/guidelines have been run/followed

Co-authored-by: Steve Hobbs <[email protected]>
  • Loading branch information
xmanwms95 and stevehobbsdev committed Mar 7, 2024
1 parent 1875312 commit 8653181
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@Library('k8sAgents') agentLibrary
@Library('auth0') _

pipeline {
agent {
label 'crew-brucke'
kubernetes {
yaml defaultAgent()
}
}

tools {
Expand All @@ -12,14 +17,6 @@ pipeline {
}

stages {
stage('SharedLibs') {
steps {
library identifier: 'auth0-jenkins-pipelines-library@master', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: '[email protected]:auth0/auth0-jenkins-pipelines-library.git',
credentialsId: 'auth0extensions-ssh-key'])
}
}
stage('Build') {
steps {
sshagent(['auth0extensions-ssh-key']) {
Expand Down

0 comments on commit 8653181

Please sign in to comment.