Compare commits

...

64 commits

Author SHA1 Message Date
1051bb1b56 tests actions
Some checks failed
ci-workflow / ci (push) Failing after 0s
ci-workflow / ci_podman (push) Failing after 19s
2024-12-13 11:16:51 +01:00
662eaf4487 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 0s
ci-workflow / ci (push) Successful in 54s
2024-12-13 11:15:01 +01:00
91820cc43f tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 14s
ci-workflow / ci (push) Successful in 48s
2024-12-13 10:42:05 +01:00
b0c2a8a7c8 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 18s
ci-workflow / ci (push) Successful in 52s
2024-12-13 10:07:11 +01:00
cfc045746a tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 1s
ci-workflow / ci (push) Successful in 49s
2024-12-13 10:06:14 +01:00
9fd2b4bb60 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 0s
ci-workflow / ci (push) Successful in 49s
2024-12-13 10:04:22 +01:00
132c2abbf3 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 17s
ci-workflow / ci (push) Successful in 52s
2024-12-13 09:57:02 +01:00
b872d6de0d test actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 13s
ci-workflow / ci (push) Successful in 51s
2024-12-12 17:45:05 +01:00
fdb242b7a5 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 13s
ci-workflow / ci (push) Failing after 49s
2024-12-12 17:42:44 +01:00
1de21cd29b tests actions
Some checks failed
ci-workflow / ci (push) Failing after 8s
ci-workflow / ci_podman (push) Failing after 14s
2024-12-12 17:41:07 +01:00
d1d7a5a2f1 tests actions
Some checks failed
ci-workflow / ci (push) Failing after 4s
ci-workflow / ci_podman (push) Failing after 12s
2024-12-12 17:37:45 +01:00
00bb946305 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 20s
ci-workflow / ci (push) Failing after 1m1s
2024-12-12 17:31:58 +01:00
90f5d5fc41 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 18s
ci-workflow / ci (push) Failing after 53s
2024-12-12 17:26:05 +01:00
8a40d297f4 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 13s
ci-workflow / ci (push) Failing after 18s
2024-12-12 17:20:08 +01:00
14c9867f83 tests action
Some checks failed
ci-workflow / ci_podman (push) Failing after 12s
ci-workflow / ci (push) Failing after 52s
2024-12-12 17:13:38 +01:00
41afc6cc13 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 18s
ci-workflow / ci (push) Failing after 50s
2024-12-12 16:56:26 +01:00
4e3b7bd8ac tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 13s
ci-workflow / ci (push) Failing after 51s
2024-12-12 16:53:38 +01:00
e4da241062 tests actions
Some checks failed
ci-workflow / ci_podman (push) Failing after 21s
ci-workflow / ci (push) Failing after 49s
2024-12-12 16:35:07 +01:00
043e10588f tests action
Some checks failed
ci-workflow / ci (push) Has been cancelled
2024-12-12 16:34:24 +01:00
0243d32d2c adds podman action for building docker
Some checks failed
ci-workflow / ci (push) Failing after 57s
2024-12-12 16:27:51 +01:00
aaea1f1cfa tests actions
Some checks failed
ci-workflow / ci (push) Failing after 57s
2024-12-12 15:49:47 +01:00
64e4bfac0d tests actions
Some checks failed
ci-workflow / ci (push) Failing after 48s
2024-12-12 15:40:17 +01:00
d2e4c66374 tests actions 2024-12-12 15:37:23 +01:00
db6c2e395d updates actions
Some checks failed
ci-workflow / ci (push) Failing after 53s
2024-12-12 11:08:23 +01:00
d9ad3d3be9 updates actions
Some checks failed
ci-workflow / ci (push) Failing after 50s
2024-12-12 10:11:52 +01:00
839e53586d updates actions
Some checks failed
ci-workflow / ci (push) Failing after 53s
2024-12-12 09:57:19 +01:00
ef8ca66504 updates actions
Some checks failed
ci-workflow / ci (push) Failing after 21s
2024-12-12 09:54:04 +01:00
7725caf57d fixes bug in build action
Some checks failed
ci-workflow / ci (push) Failing after 21s
2024-12-12 09:48:41 +01:00
30312e19e9 updates actions
Some checks failed
ci-workflow / ci (push) Failing after 20s
2024-12-12 09:39:52 +01:00
65ed6d6120 forgejo workflow uses complete image now
Some checks are pending
ci-workflow / ci (push) Waiting to run
2024-12-12 09:35:58 +01:00
c502b65940 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 4s
2024-12-06 13:37:19 +00:00
561ff9b4e1 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 31s
2024-12-06 13:31:29 +00:00
31fedf39f2 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 6m14s
2024-12-06 13:19:50 +00:00
64cacf7ed0 Update .github/workflows/.github-ci.yaml
All checks were successful
ci-workflow / ci (push) Successful in 37s
2024-12-06 12:25:01 +00:00
e26c670d11 Update .github/workflows/.github-ci.yaml
All checks were successful
ci-workflow / ci (push) Successful in 37s
2024-12-06 10:51:36 +00:00
c6672a6547 Update .github/workflows/.github-ci.yaml
All checks were successful
ci-workflow / ci (push) Successful in 39s
2024-12-06 10:43:22 +00:00
1b4b4aa60a Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 5s
2024-12-06 10:42:28 +00:00
10093188ee Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 5s
2024-12-06 10:41:37 +00:00
74215bf24b Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 5s
2024-12-06 10:40:43 +00:00
27be4486a3 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 5s
2024-12-06 10:31:31 +00:00
33710b0606 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 7s
2024-12-06 10:29:29 +00:00
7647fc5820 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 7s
2024-12-06 10:24:44 +00:00
f15c03ac6d Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 0s
2024-12-06 10:23:01 +00:00
3e2eac7517 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 0s
2024-12-06 10:19:56 +00:00
83293957ea Update .github/workflows/.github-ci.yaml 2024-12-06 09:59:51 +00:00
00c6d54d25 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 3s
2024-12-06 09:54:22 +00:00
c8218b575e Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 3s
2024-12-06 09:39:50 +00:00
799e1a3fb7 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 3s
2024-12-06 09:38:31 +00:00
b9eff28f35 Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 1s
2024-12-06 09:34:34 +00:00
70f4dcc42a Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 8s
2024-12-06 09:32:43 +00:00
63925cfb3d Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 7s
2024-12-06 09:29:51 +00:00
28e8242287 Update .github/workflows/.github-ci.yaml
All checks were successful
ci-workflow / ci (push) Successful in 10s
2024-12-06 09:22:41 +00:00
905a7e90ba Update .github/workflows/.github-ci.yaml
All checks were successful
ci-workflow / ci (push) Successful in 2s
2024-12-06 09:17:17 +00:00
4220ba6f71 updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 1s
2024-12-06 10:12:41 +01:00
2bf940212a updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 2s
2024-12-06 10:10:52 +01:00
d521b71c05 updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 2s
2024-12-06 10:06:11 +01:00
dc3736df67 updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 14s
2024-12-06 09:56:44 +01:00
420a419e35 updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 14s
2024-12-06 09:54:52 +01:00
9a6b708aca updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 0s
2024-12-06 09:49:48 +01:00
afff26d2cc updates .github-ci.yaml
Some checks are pending
ci-workflow / ci (push) Waiting to run
2024-12-05 16:32:58 +01:00
1a07f5ba84 updates .github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 0s
2024-12-05 16:28:14 +01:00
8dbb4c1d42 updates .github-ci.yaml 2024-12-05 16:12:53 +01:00
c5a7c65fa8 just a test 2024-12-05 16:01:12 +01:00
741cddf2f7 adds .github-ci.yaml 2024-12-05 15:56:54 +01:00
3 changed files with 72 additions and 0 deletions

40
.github/workflows/.github-ci.yaml vendored Normal file
View file

@ -0,0 +1,40 @@
name: ci-workflow
on: [push]
jobs:
ci:
runs-on: docker
container:
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipe:v0.0.1
steps:
- name: Clone Repository
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
- name: Lint the Repository
run: |
which trivy
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
- name: Build Credentials File
run: |
mkdir -p /kaniko/.docker
AUTHSTRING=$(echo -n "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64 -w 0)
echo "{\"auths\":{\"https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live\":{\"auth\":\"${AUTHSTRING}\"}}}" > /kaniko/.docker/config.json
- name: Build Docker Container
run: |
/kaniko/executor --dockerfile=./Dockerfile --context=. --destination=forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
- name: Vulnerability Scanning
run: |
exit 0
pwd
whoami
which trivy || true
ls -la /usr/local/bin || true
ls -la /usr/bin || true
trivy image --scanners license,vuln,secret forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
trivy image --image-config-scanners secret,misconfig forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest

View file

@ -0,0 +1,32 @@
name: ci-workflow
on: [push]
jobs:
ci_podman:
runs-on: docker
container:
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/complete_podman:v0.0.1
steps:
- name: Clone Repository
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
- name: Lint the Repository
run: |
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
- name: Build Credentials File
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | sudo podman login forgejo.edf-bootstrap.cx.fg1.ffm.osc.live -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
- name: Build Docker Container
run: |
sudo podman build -t fibonacci_go:latest -f Dockerfile .
sudo podman push fibonacci_go:latest forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
- name: Vulnerability Scanning
run: |
trivy image --scanners license,vuln,secret forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
trivy image --image-config-scanners secret,misconfig forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest

0
just_a_change.txt Normal file
View file