8 Commits

Author SHA1 Message Date
jcabillot 08df5d6947 Merge pull request 'fix: refactor CI pipelines with pinned action versions and remove legacy configs' (#12) from fix/refactor-ci-pipelines into master
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 16s
Main Release / tag (push) Successful in 22s
Main Release / build-push (push) Successful in 2m18s
Reviewed-on: #12
2026-06-12 20:55:26 -04:00
cloudix_mcp_server c0175543c3 fix: restore hadolint in cron workflow
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 19s
2026-06-12 20:23:20 -04:00
cloudix_mcp_server 3f9df443c2 chore: remove legacy Jenkinsfile
PR Checks / hadolint (pull_request) Successful in 5s
PR Checks / build-test (pull_request) Successful in 12s
2026-06-12 19:40:45 -04:00
cloudix_mcp_server 7cf39a7495 chore: remove legacy GitLab CI config 2026-06-12 19:40:42 -04:00
cloudix_mcp_server ec35949187 refactor(ci): clean nightly cron pipeline with pinned action versions 2026-06-12 19:40:36 -04:00
cloudix_mcp_server 68243f4eef refactor(ci): clean tag pipeline with pinned action versions 2026-06-12 19:40:32 -04:00
cloudix_mcp_server 7f5bcbea4c refactor(ci): clean main pipeline with pinned action versions 2026-06-12 19:40:28 -04:00
cloudix_mcp_server 0f115455fc refactor(ci): clean PR pipeline with pinned action versions 2026-06-12 19:40:26 -04:00
3 changed files with 3 additions and 73 deletions
+3
View File
@@ -1,7 +1,9 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
@@ -11,6 +13,7 @@ jobs:
continue-on-error: true
with:
dockerfile: Dockerfile
build-push:
runs-on: ubuntu-latest
steps:
-35
View File
@@ -1,35 +0,0 @@
image: "docker:latest"
services:
- "docker:dind"
before_script:
- "docker login -u \"$CI_REGISTRY_USER\" -p \"$CI_REGISTRY_PASSWORD\" $CI_REGISTRY"
build-master:
stage: "build"
script:
- "docker build --pull -t \"$CI_REGISTRY_IMAGE\" ."
- "docker push \"$CI_REGISTRY_IMAGE\""
only:
- "master"
build:
stage: "build"
script:
- "docker build --pull -t \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\" ."
- "docker push \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\""
except:
- "master"
deploy-dockerhub:
stage: "deploy"
before_script:
- "docker login -u \"$DOCKERHUB_USER\" -p \"$DOCKERHUB_PASSWORD\""
- "docker login -u \"$CI_REGISTRY_USER\" -p \"$CI_REGISTRY_PASSWORD\" $CI_REGISTRY"
script:
- "docker pull \"$CI_REGISTRY_IMAGE\""
- "docker tag \"$CI_REGISTRY_IMAGE\" \"$DOCKERHUB_USER/$DOCKERHUB_PROJECT\""
- "docker push \"$DOCKERHUB_USER/$DOCKERHUB_PROJECT\""
only:
- "master"
Vendored
-38
View File
@@ -1,38 +0,0 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/cipherscan'
}
agent any
triggers {
cron('@midnight')
}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}