Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.yml #189

Open
wants to merge 72 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
817ccc9
Update config.yml
Siyavashshams Aug 18, 2022
fd2f914
Add first draft of some feature
keramatAlijani Aug 18, 2022
fc0608b
Merge pull request #1 from Siyavashshams/test1
Siyavashshams Aug 18, 2022
93f1f21
Updated config.yml
Siyavashshams Aug 18, 2022
fb92af7
Updated config.yml
Siyavashshams Aug 18, 2022
9887a47
Updated config.yml
Siyavashshams Aug 18, 2022
4b3223b
Updated config.yml
Siyavashshams Aug 18, 2022
dfbc72d
Updated config.yml
Siyavashshams Aug 18, 2022
dc84422
Updated config.yml
Siyavashshams Aug 18, 2022
110c117
Updated config.yml
Siyavashshams Aug 18, 2022
3ffa545
Updated config.yml
Siyavashshams Aug 18, 2022
164d38e
Updated config.yml
Siyavashshams Aug 18, 2022
1ebc225
Updated config.yml
Siyavashshams Aug 18, 2022
d91dec4
Updated config.yml
Siyavashshams Aug 18, 2022
d5e57e8
Updated config.yml
Siyavashshams Aug 18, 2022
ab895fc
Updated config.yml
Siyavashshams Aug 18, 2022
27c8120
Updated config.yml
Siyavashshams Aug 18, 2022
dcf0ffa
Updated config.yml
Siyavashshams Aug 18, 2022
ae60e5e
Updated config.yml
Siyavashshams Aug 18, 2022
b3715b3
Updated config.yml
Siyavashshams Aug 18, 2022
8829861
Updated config.yml
Siyavashshams Aug 18, 2022
1ef7969
Updated config.yml
Siyavashshams Aug 18, 2022
a68d52a
Updated config.yml
Siyavashshams Aug 19, 2022
980f77e
Updated config.yml
Siyavashshams Aug 19, 2022
79a3500
Updated config.yml
Siyavashshams Aug 19, 2022
57d410b
Updated config.yml
Siyavashshams Aug 19, 2022
4328990
Updated config.yml
Siyavashshams Aug 19, 2022
7173648
Updated config.yml
Siyavashshams Aug 19, 2022
8aee533
Updated config.yml
Siyavashshams Aug 19, 2022
4d856ff
Updated config.yml
Siyavashshams Aug 19, 2022
48529b2
Updated config.yml
Siyavashshams Aug 19, 2022
774400f
Updated config.yml
Siyavashshams Aug 19, 2022
492c854
Updated config.yml
Siyavashshams Aug 19, 2022
c64a13c
Updated config.yml
Siyavashshams Aug 19, 2022
448cde9
Updated config.yml
Siyavashshams Aug 19, 2022
3fbaa48
Updated config.yml
Siyavashshams Aug 19, 2022
100afc2
Updated config.yml
Siyavashshams Aug 19, 2022
b673c0b
Updated config.yml
Siyavashshams Aug 19, 2022
8845559
Updated config.yml
Siyavashshams Aug 19, 2022
b6cb2f5
Updated config.yml
Siyavashshams Aug 19, 2022
8e1849b
Updated config.yml
Siyavashshams Aug 19, 2022
d51a108
Updated config.yml
Siyavashshams Aug 19, 2022
2ef2133
Updated config.yml
Siyavashshams Aug 19, 2022
e562828
Updated config.yml
Siyavashshams Aug 19, 2022
012ad2d
Updated config.yml
Siyavashshams Aug 19, 2022
41e4afc
Updated config.yml
Siyavashshams Aug 19, 2022
56cbc6a
Updated config.yml
Siyavashshams Aug 19, 2022
5ad50d1
Updated config.yml
Siyavashshams Aug 19, 2022
4c86b85
Updated config.yml
Siyavashshams Aug 19, 2022
848341f
Updated config.yml
Siyavashshams Aug 19, 2022
58ed3e9
Updated config.yml
Siyavashshams Aug 19, 2022
227f030
Updated config.yml
Siyavashshams Aug 19, 2022
547378a
Updated config.yml
Siyavashshams Aug 19, 2022
dab775b
Updated config.yml
Siyavashshams Aug 19, 2022
fc1cf18
Updated config.yml
Siyavashshams Aug 19, 2022
6c86f6b
Updated config.yml
Siyavashshams Aug 19, 2022
a6e8110
Create go.mod
Siyavashshams Aug 19, 2022
7d2035a
Updated config.yml
Siyavashshams Aug 19, 2022
c25f7a8
Update go.mod
Siyavashshams Aug 19, 2022
b407345
Updated config.yml
Siyavashshams Aug 19, 2022
6ce20c9
Updated config.yml
Siyavashshams Aug 19, 2022
1b84c3b
Updated config.yml
Siyavashshams Aug 19, 2022
acdce67
Updated config.yml
Siyavashshams Aug 19, 2022
f81a5a8
Updated config.yml
Siyavashshams Aug 19, 2022
b495bbc
Updated config.yml
Siyavashshams Aug 19, 2022
cc35adc
Updated config.yml
Siyavashshams Aug 19, 2022
07692f5
Updated config.yml
Siyavashshams Aug 19, 2022
d061f8c
Updated config.yml
Siyavashshams Aug 19, 2022
f015ee9
Updated config.yml
Siyavashshams Aug 19, 2022
38a8d20
Updated config.yml
Siyavashshams Aug 19, 2022
8a949e8
Updated config.yml
Siyavashshams Aug 19, 2022
c095430
Updated config.yml
Siyavashshams Aug 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
version: 2
jobs:
build:
# Variable expansion in working_directory not supported at this time
# You will need to modify the code below to reflect your github account/repo setup
working_directory: /go/src/github.com/Securing-DevOps/invoicer-chapter2
# 12334
working_directory: ~/go/src/github.com/Siyavashsham/invoicer-chapter2
docker:
- image: circleci/golang:1.10
- image: cimg/go:1.19.0
auth:
username: "siyavashshams"
password: "lasTampa34?m"
steps:
- checkout
- setup_remote_docker
Expand All @@ -26,23 +28,12 @@ jobs:
EOF
- run: mkdir -p "${GOPATH_BASE}"
- run: mkdir -p "${GOPATH_HEAD}/bin"

- run:
name: Testing application
command: |
go test \
github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}

- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS};
docker login -u "siyavashshams" -p "lasTampa34?m";
go install --ldflags '-extldflags "-static"' \
github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME};
github.com/Siyavashshams/invoicer-chapter2;
mkdir bin;
cp "$GOPATH_HEAD/bin/${CIRCLE_PROJECT_REPONAME}" bin/invoicer;
docker build -t ${DOCKER_REPO}/${CIRCLE_PROJECT_REPONAME} .;
docker images --no-trunc | awk '/^app/ {print $3}' | \
sudo tee $CIRCLE_ARTIFACTS/docker-image-shasum256.txt;
docker push ${DOCKER_REPO}/${CIRCLE_PROJECT_REPONAME};
fi
cp "$GOPATH/bin/invoicer-chapter2" bin/invoicer;
fi
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Hi
Securing DevOps's invoicer
==========================

Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module golang.org/x/mod

go 1.17