What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi all, I wanted to ask why in docker/sdk the jenkins version is fixed at 2.176? And whether it is p
Hi all, I wanted to ask why in docker/sdk the jenkins version is fixed at 2.176? And whether it is planned to be able to use the other images available at https://hub.docker.com/r/spryker/jenkins (e.g. 2.324)? I don't know much about Jenkins, but version 2.324 seemed to me to be a lot more resource-efficient and faster than 2.176. And so I wondered what might be wrong with it?
Comments
-
I'm not 100% sure but it seems that you can manage the version in the deploy file - https://github.com/spryker/docker-sdk/blob/master/docs/07-deploy-file/02-deploy.file.reference.v1.md#services.
0 -
I have tried this, but unfortunately it does not work because the preparations for it are missing, see https://github.com/spryker/docker-sdk/tree/master/generator/src/templates/service/jenkins
and the error message:Running generator PHP Fatal error: Uncaught Twig\Error\LoaderError: Template "service/jenkins/2.324/jenkins.yml.twig" is not defined in "docker-compose.yml.twig" at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98 Stack trace: #0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('service/jenkins...') #1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('service/jenkins...') #2 /data/vendor/twig/twig/src/Template.php(333): Twig\Environment->loadTemplate('service/jenkins...', NULL) #3 /data/vendor/twig/twig/src/Environment.php(418) : eval()'d code(367): Twig\Template->loadTemplate('service/jenkins...', 'docker-compose....', 146) #4 /data/vendor/twig/twig/src/Template.php(405): __TwigTemplate_30fee6f8fd5486ce20bc7cfc953923388933f9d01d076cf83ae5669b9dfa375f->doDisplay(Array, Array) #5 /data/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #6 /data/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array) # in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
0 -
Yep, looks like it wasn't implemented yet.
So either you can fork and implement your own version here https://github.com/spryker/docker-sdk/tree/master/generator/src/templates/service/jenkins or wait until it's implemented from respective team's side. But I believe there are higher prio topics in their backlog atm.0 -
BTW, Jenkins version in our PaaS has nothing to do with spryker/docker-sdk and is controlled separately from infra side.
0 -
Thank you for pointing this out. Of course, it would be nice to have an "almost" identical system locally to be able to reproduce any errors.
0 -
We solved that a few days ago in our project by creating a new template in
generator/src/templates/service/jenkins/<THE-VERSION>/jenkins.yml.twig
and providing a docker image in our gitlab container registry that we use in that template, looks like this in the twig file:image: <gitlab-domain>:<container-registry-port>/groupname/spryker-docker-jenkins/jenkins:master
0 -
Thanks for your input.
0 -
BTW, there are new Jenkins versions available already - https://github.com/spryker/docker-sdk/tree/master/generator/src/templates/service/jenkins.
0 -
Fantastic. Thank you!
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random