This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reusable workflow: Security Checks for Docker repositories | |
# | |
# This workflow performs: | |
# - Docker CIS Benchmark checks (via Powerpipe) | |
# - Dockerfile linting (Hadolint) | |
# - File system vulnerability scanning (Trivy) | |
# | |
# Expected to be invoked via `workflow_call`. | |
# The caller workflow should grant: | |
# permissions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
API v1 endpoints: | |
project | |
- list: | |
- limited to projects you follow | |
- lists across your organizations | |
- get: not available on v1 | |
build | |
- list: | |
- limited to projects you follow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -e | |
JENKINS_BASE_PATH=/usr/share/jenkins/ | |
CURRENT_VERSION=$1 | |
NEW_VERSION=$2 | |
help(){ | |
echo "Usage: \n\t$0 current_version new_version" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<facebook:config-with-oauth name="Facebook" | |
consumerKey="${consumerKey}" consumerSecret="${consumerSecret}" | |
doc:name="Facebook" scope="user_posts"> | |
<facebook:oauth-callback-config domain="localhost" | |
localPort="${http.port}" remotePort="${http.port}" path="fbcallback" /> | |
</facebook:config-with-oauth> | |
<http:listener-config name="HTTP_Listener_Configuration" | |
host="localhost" port="${http.port}" doc:name="HTTP Listener Configuration" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<util:properties id="webProperties" location="classpath:life-web.properties"/> | |
<bean name="..." class="..."> | |
<constructor-arg value="#{webProperties['email.smtp']}"/> | |
</bean> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<excludes> | |
<exclude>development/*</exclude> | |
<exclude>test/*</exclude> | |
<exclude>stage/*</exclude> | |
</excludes> | |
</resource> | |
<resource> |