Pre-configured Podman images
localhost/end_to_end-ssh-agent-conf
localhost/end_to_end-jenkins-conf
which are based on
docker.io/jenkins/ssh-agent
(35c170948a5a)docker.io/jenkins/jenkins
(7a7add0bf3da)
The preconfigured image has Jenkins with nothing but the account and the credentials. It will build the Firefox binaries directly on the node, and the configuration for that is done on the first step below using BuilderFile, in order to make it quick to perform build configuration changes, as necessary.
podman build -t localhost/jenkins-build-ff -f BuilderFile
podman build -t localhost/test-server -f TesterFile
mkdir -p build_artifacts/ jenkins_home/
- Create Jenkins admin account with the secret from the console output
- Log into Jenkins, do all the updates, and go to dashboard
- Add new item, give it name
build-firefox
, chooseFreestyle project
as type - From Build Triggers, choose
Trigger builds remotely
, use a secret asAuthentication Token
- From Build Steps, add
Execute shell
and fill in the contents offreestyle-execute-shell.sh
- Save and try building the job
- Log into test container with
podman exec -it $(podman ps | grep test-server | cut -d ' ' -f 1) bash
- Check that the build artifacts are under /opt/bin/firefox
- If necessary, unpack them with
tar -xvjf
- Check that we get the test site
emit_telemetry.html
fromcurl http://brokensite.com/emit_telemetry.html
- Try if triggering the test works with
curl http://brokensite.com/testtrigger