Comments (9)
Related to #8
from praqma-jenkins-casc.
We won't need history, nor backup, as it is only a demo instance and new builds will come again when there is activity in projects. Else we simple run some.
from praqma-jenkins-casc.
Basic setup working in docker compose with secrets and master.
from praqma-jenkins-casc.
You mentioned a bug in docker compose, leading to this change in CasC jenkinsci/configuration-as-code-plugin@c83470c
Can you please check the file outside and inside the container using cat -A
https://linuxaria.com/pills/linux-terminal-seeing-the-unseen-characters-with-cat to verify it is a bug in docker-compose?
No matter what we can not commit to CASC project without an issue or PR... so please revert that commit and create a proper issues describing the problem there - if the problem really is with CasC and not docker compose.
FYI @ewelinawilkosz
from praqma-jenkins-casc.
md5sum could also be used to verify the files are identical ?
from praqma-jenkins-casc.
cat with the -A switch inside container:
jenkins@5e53860188b8:/$ cat -A /run/secrets/adminpw
secr3t$
cat with the -A switch from the host system:
mads@mads-UX302LG:/var/deploy/secrets$ cat -A /var/deploy/secrets/adminpw
secr3t$
from praqma-jenkins-casc.
CAT(1) User Commands CAT(1)
NAME
cat - concatenate files and print on the standard output
SYNOPSIS
cat [OPTION]... [FILE]...
DESCRIPTION
Concatenate FILE(s) to standard output.
With no FILE, or when FILE is -, read standard input.
-A, --show-all
equivalent to -vET
-b, --number-nonblank
number nonempty output lines, overrides -n
-e equivalent to -vE
-E, --show-ends
display $ at end of each line
-n, --number
number all output lines
-s, --squeeze-blank
suppress repeated empty output lines
-t equivalent to -vT
-T, --show-tabs
display TAB characters as ^I
-u (ignored)
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
--help display this help and exit
--version
output version information and exit
from praqma-jenkins-casc.
mads@mads-UX302LG:/var/deploy/secrets$ cat /var/deploy/secrets/adminpw
secr3t
mads@mads-UX302LG:/var/deploy/secrets$
jenkins@5e53860188b8:/$ cat /run/secrets/adminpw
secr3t
jenkins@5e53860188b8:/$
from praqma-jenkins-casc.
So with the above I would conclude docker compose work correctly and as expected - it do not change the file passed in through secrets.
The problem must be they way we read it in CasC https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/src/main/java/org/jenkinsci/plugins/casc/DockerSecretSource.java#L21
from praqma-jenkins-casc.
Related Issues (18)
- Re-use AWS setup from praqma-jenkins to create a docker host or casc.praqma.cloud HOT 3
- Create a jenkins.yaml for our casc.praqma.cloud demo HOT 3
- Document the create AWS instance for the demo setup and create docker secrets HOT 3
- Create AWS setup for jenkins slave HOT 2
- Configuration as code overview documentation HOT 2
- Demo projects for casc. Find and configure a good second example project HOT 3
- Create Jenkins CasC demo to be live on casc.praqma.cloud HOT 1
- Installation of plugins needs to come from CasC Jenkins configuration yml file
- Add relevant comments to docker-compose.yml and other files where relevant
- demo 1 example would be more interesting if it polled
- Example job building configuration as code plugin itself fails because of Maven configuration
- Update to 0.6-alpha and to new unclassified root element
- Dynamic plugin installation fails HOT 2
- As of jenkins4casc:0.6-alpha-latest Credentials are not imported
- Jenkins fails to start HOT 3
- Jenkins fail to start right after cloning and display error HOT 2
- SSL certificate problem: certificate has expired when Downloading plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from praqma-jenkins-casc.